package com.yv.websocket.controller.v5;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Controller;

import com.yv.websocket.service.WebSocketService;


/**
 * 
 * 功能描述：股票推送controller
 *
 */
@Controller
public class V5StockInfoController {

	@Autowired
	private WebSocketService ws;
	
//	@Scheduled(fixedRate=1000)
	public void stockInfo(){
		ws.sendStockInfo();
	}
	
}
